/*------------------------------------------------
<> WSTRING class
<> 2008.07.31 - Robert Vanca
<> v0.1

Very basic WSTRING implementation.
Features:
	- A few different constructors
	- Concat
	- Length

TODO:	- code review.
		- i can imagine unlimited wstring operations and functions :-)

--------------------------------------------------*/
#pragma once
#ifndef _BASELIB_WSTRING_H
#define _BASELIB_WSTRING_H

class WSTRING
{
private:
	wchar_t *data;

public:
	//const
	WSTRING() { data = new wchar_t;}
	WSTRING(const WSTRING & temp) {} //empty copy constructor
	WSTRING(const wchar_t * temp);
	WSTRING(const char * temp);
	//destructor
	~WSTRING() { delete data;}

	//operators
	void operator=(const wchar_t *); 
	
	//functions
	wchar_t* ToWchar() {return data;}
	size_t Length();
	void Concat(WSTRING &);
	
};


#endif //_BASELIB_WSTRING_H